package com.ihg.hiex.admin.handler;

import java.io.InputStream;
import java.util.List;

import com.ihg.hiex.admin.entity.upload.OnlineReport;
import com.ihg.hiex.admin.entity.upload.OnlineReportUploadItem;
import com.ihg.hiex.admin.handler.support.FileStorage;

public interface FileHandler {
    
    /**
     * 
     * @param fileStorage
     * @param inputStream
     * @return
     */
    public String save(FileStorage fileStorage, InputStream inputStream);
    
    /**
     * 
     * @param path
     * @param items
     * @return
     */
    public List<OnlineReport> batchSave(String path, List<OnlineReportUploadItem> items);
    
}
